<?php
/**增值服务model*/
namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class Extra extends Model
{
    //
    public function __construct()
    {
        //
    }

    /**记录需求入库*/
    public static function insertdata($table,$data=null)
    {
        $res = DB::table($table)->insertGetId($data);
        return $res;
    }
}
